package me.haoliang

/**
  * author: planck 
  * createTime: 2016/10/17.
  */
object Xiahuaxian {

  //直接代替第一个和第二个参数
  val mySum = (_: Int) + (_: Int)


  def main(args: Array[String]): Unit = {
    mySum(1, 2)
    var lists = List("a", "b", "c")
    //可以直接代替(a)=>!a.equals
    lists = lists.filter(!_.equals("a"))
  }

}
